package com.jtny.nytb.equipment.vo.typeAndArea;

import com.jtny.component.entity.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author 智慧能源中心 - xqx
 * @package com.jtny.nytb.energymonitor.equipment.dto
 * @fileName DeviceTypeRequestDTO.java
 * @createTime 2023年09月14日 14:17
 * @Copyright© 2023 jtny
 * 江投能源技术研究院 版权所有
 */

@ApiModel(value = "设备分类入参", description = "设备分类入参")
@Data
@Accessors(chain = true)
public class DeviceTypeRequestVO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "全路径")
    private String allPath;

    @ApiModelProperty(value = "等级")
    private Integer level;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "设备编码")
    private String code;

    @ApiModelProperty(value = "是否禁用(0:禁用,1:启用,9:删除)")
    private Integer status;

    @ApiModelProperty(value = "是否禁用(0:禁用,1:启用,9:删除),多选逗号隔开")
    private List<Integer> statusAll;

    private Integer pageNo;
    private Integer pageSize;
}
